New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

null-writable

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

null-writable

Null writable stream

  • 1.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
178
decreased by-33.83%
Maintainers
1
Weekly downloads
 
Created
Source

null-writable

Build Status Coverage Status npm

This module provides a Writable which accepts all data and do nothing. It is like /dev/null for Node.js streams.

It implements _writev method so it is fast enough for buffered operations.

Requirements

This module requires Node >= 6.

Installation

npm install null-writable

Additionally for Typescript:

npm install -D @types/node

Usage

const {NullWritable} = require("null-writable")

Typescript:

import NullWritable from "null-writable"
// or
import {NullWritable} from "null-writable"

constructor

const stream = new NullWritable(options)

Create new NullWritable instance.

Options are the same as for Writable constructor, like ie. highWaterMark.

License

Copyright (c) 2018-2019 Piotr Roszatycki mailto:piotr.roszatycki@gmail.com

MIT

Keywords

FAQs

Package last updated on 07 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc